
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #666;
    text-decoration: none;
}

body {
    background-color: #f5f5f5;
}
.container {
    background-color: #fff;
}
a:hover {
    text-decoration: none;
}
/* 修改container的最大款度为1280 */

@media screen and (min-width: 1290px) {
    .container {
        width: 1280px;
    }
}
/* header */
header {
    padding-left: 0!important;
}

.log img {
    display: block;
    width: 100%;
    max-height: 30%;
    margin: 0 auto;
}
.log span img {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
.nav {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}
.nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    font-size: 16px;
}
.nav a:hover {
    background-color: #fff;
}
.nav a::before{
    vertical-align: middle;
    padding-right: 5px;
}

/* 当进入 小屏幕 和超小屏幕的时候 让nav 里面的li浮动起来 并且宽度设为 20% */
@media screen and (max-width: 991px) {
    .nav {
        margin-bottom: 10px;
    }
    .nav li {
        float: left;
        width: 20%;
    }
}

/* 当进入超小屏幕的时候 让nav 里面的文字变为14px*/
@media screen and (max-width: 767px) {
    .nav li a {
        font-size: 14px;
        padding-left: 3px;
    }
    /* 当处于超小屏幕下 news 第一个li 宽度为100% 剩下的li 各50% */
    .news li:nth-child(1) {
        width: 100%!important;
    }
    .news li {
        width: 50%!important;
    }
    .publish h3 {
        font-size: 14px;
    }
}

.news li { 
    float: left;
    width: 25%;
    height: 128px;
    padding-right: 10px;
    margin-bottom: 10px;
}
.news li>a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.news li:nth-child(1) {
    width: 50%;
    height: 266px;
    /* background-color: aqua; */
}
.carousel,
.carousel img {
    width: 100% !important;
    height: 266px !important;
}


.news li:nth-child(1) p {
    line-height: 41px;
    font-size: 20px;
    padding: 0 10px;
}
.news li a img {
    width: 100%;
    height: 100%;
}
.carousel-caption {
    line-height: 41px;
    padding: 0!important;
    font-size: 19px!important;
}
.news li a p,
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    margin-bottom: 0;
    padding: 5px 10px;
    background: rgba(0,0,0, .5);
    font-size: 12px;
    color: #fff;
} 

.publish {
    border-top: 1px solid #ccc;
}
.pic {
    margin-top: 16px;
}
.pic img {
    width: 100%;
    /* height: 100%;  */
}
.publish .row {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
} 
.banner img {
    width: 100%;
}
.hot {
    display: block;
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 0 20px 20px;
}
.hot span {
    border-radius: 0;
    margin-bottom: 20px;
}
.hot p {
    font-size: 12px;
}